Puneet Matharu is an independent developer whose open-source portfolio is currently anchored by cmakefmt, a command-line utility engineered to bring consistent, opinionated formatting to CMake build scripts. Written in modern C++, the tool parses CMakeLists.txt and *.cmake files at high speed, applies a deterministic style guide, and rewrites them in place or to a specified output, making it valuable for CI pipelines, pre-commit hooks, and large refactoring passes where manual indentation and keyword casing would be error-prone. Typical use cases include normalizing legacy codebases that grew through multiple contributors, enforcing project-wide style rules without bike-shedding, and integrating formatting checks into automated quality gates alongside clang-format or black. Because the formatter is deterministic and preserves comments, teams can treat CMake code as they would C++ or Python: review changes for logic, not whitespace. The single-binary distribution runs on Windows, macOS, and Linux, so cross-platform projects can share the same style configuration file and guarantee identical output on every build agent. Although the catalogue is presently limited to this one focused developer tool, the engineering discipline evident in cmakefmt suggests future utilities may follow the same philosophy of fast, correct, zero-configuration operation. Pending expansion, users interested in experimental CMake workflow aids already have a reliable starting point. cmakefmt and any subsequent releases from Puneet Matharu are available for free on get.nero.com, with downloads delivered through trusted Windows package sources such as winget, always installing the latest upstream build and supporting batch installation alongside other applications.
A fast, correct CMake formatter
Details